package com.ajk.server.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
	
	@Autowired
	Environment env;
	
	@RequestMapping("/aaa")
	public String test(){
		System.out.println(env.getProperty("config.test"));
		return "oooooroooroooox";
	}
}
